package com.hx.yupao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hx.yupao.model.domain.Team;
import com.hx.yupao.model.domain.User;
import com.hx.yupao.model.domain.UserTeam;
import com.hx.yupao.model.vo.TeamUserVO;

import java.util.List;

/**
 * @author Lenovo
 * @description 针对表【user_team(用户队伍关系)】的数据库操作Service
 * @createDate 2025-10-02 16:00:08
 */
public interface UserTeamService extends IService<UserTeam> {

    /**
     * 查找一个用户参加了哪些队伍
     * @param loginUser
     * @return
     */
    List<TeamUserVO> searchJoinTeams(User loginUser);
}
